@extends('admin/layout/index')

@section('title')
	友情链接添加
@endsection

@section('content')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span><i class="icon-table"></i>友情链接添加</span>
        </div>
        <div class="mws-panel-body no-padding">
            <table class="mws-table">
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>名称</th>
                        <th>商标</th>
                        <th>地址</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                	@foreach($data as $k => $v)
                    <tr>
                        <td>{{$v['f_id']}}</td>
                        <td>{{$v['f_name']}}</td>
                        <td><img src="/public/fimage/{{$v['f_pic']}}" alt="" width="80px"></td>
                        <td>{{$v['f_url']}}</td>
                        <td>
                        	　　<a href="/admin/friend/delete/{{$v['f_id']}}" style="font-size:20px;color:black;"><i class="icon-trash"></i></a>　　
                        	<a href="/admin/friend/edit/{{$v['f_id']}}" style="font-size:20px;color:black;"><i class="icon-pencil-2"></i></a>
                        </td>
                    </tr>
                    @endforeach
                </tbody>
            </table>
        </div>
    </div>
@endsection